<?php

namespace App\Models\Article\Category;

use App\Models\Article\ArticleCategoryModel;
use App\Models\BaseModel;
use Illuminate\Database\Eloquent\Relations\HasOne;

class ArticleCategoryOperateDailyStatisticsModel extends BaseModel
{
    protected $table = "article_category_operate_daily_statistics";

    /**
     * @return HasOne
     */
    public function articleCategoryRel(): HasOne
    {
        return $this->hasOne(ArticleCategoryModel::class, "id", "targetId");
    }
}
